package com.lkd.controller;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lkd.dto.RegionDto;
import com.lkd.entity.Business;
import com.lkd.service.IBusinessService;
import com.lkd.service.INodeService;
import com.lkd.vo.NodeVo;
import com.lkd.vo.PageBean;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequiredArgsConstructor
@RequestMapping("/api/vm-service/businessType")
public class BusinessController {

    private final IBusinessService businessService;

    @GetMapping
    public List<Business> searchbusinessType() {
        return businessService.searchbusinessType();
    }






}
